projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4520875
)
* src/xterm.c (handle_one_xevent): Drop frame picture on configure.
author
Po Lu
<luangruo@yahoo.com>
Mon, 24 Jan 2022 04:54:26 +0000
(12:54 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Mon, 24 Jan 2022 04:54:26 +0000
(12:54 +0800)
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 436238c4a1723be257fe200fd1d97a1f9d8f05f3..e5bcff10676df171b09be41d005bf1527af1ff73 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-9892,6
+9892,15
@@
handle_one_xevent (struct x_display_info *dpyinfo,
block_input ();
if (f && FRAME_X_DOUBLE_BUFFERED_P (f))
font_drop_xrender_surfaces (f);
+#ifdef HAVE_XRENDER
+ if (f && FRAME_X_DOUBLE_BUFFERED_P (f)
+ && FRAME_X_PICTURE (f) != None)
+ {
+ XRenderFreePicture (FRAME_X_DISPLAY (f),
+ FRAME_X_PICTURE (f));
+ FRAME_X_PICTURE (f) = None;
+ }
+#endif
unblock_input ();
#if defined USE_CAIRO && !defined USE_GTK
if (f)